home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / Networking / SANA-II / slip_src / main_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-17  |  3.9 KB  |  95 lines

  1. /* Prototypes for functions defined in
  2. main.c
  3.  */
  4.  
  5. ULONG __asm DevOpen(register __a1 struct IOSana2Req * , register __d0 ULONG , register __d1 ULONG , register __a6 struct SLIPDevice * );
  6.  
  7. BPTR __asm DevClose(register __a1 struct IOSana2Req * , register __a6 struct SLIPDevice * );
  8.  
  9. BPTR __asm DevExpunge(register __a6 struct SLIPDevice * );
  10.  
  11. struct SLIPUnit * InitSLIPUnit(ULONG , struct SLIPDevice * );
  12.  
  13. void ExpungeUnit(struct SLIPUnit * , struct SLIPDevice * );
  14.  
  15. BOOL ReadConfig(struct SLIPUnit * , struct SLIPDevice * );
  16.  
  17. void __asm DevBeginIO(register __a1 struct IOSana2Req * , register __a6 struct SLIPDevice * );
  18.  
  19. void PerformIO(struct IOSana2Req * , struct SLIPDevice * );
  20.  
  21. void __asm GetSpecialStats(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  22.  
  23. void __asm GetGlobalStats(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  24.  
  25. void __asm GetTypeStats(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  26.  
  27. void __asm TrackType(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  28.  
  29. void __asm UnTrackType(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  30.  
  31. void PacketReceived(ULONG , struct SLIPUnit * );
  32.  
  33. void PacketSent(ULONG , struct SLIPUnit * );
  34.  
  35. void PacketOverrun(struct SLIPUnit * , struct SLIPDevice * );
  36.  
  37. void ReceivedGarbage(struct SLIPUnit * , struct SLIPDevice * );
  38.  
  39. void PacketDropped(struct SLIPUnit * , struct SLIPDevice * );
  40.  
  41. void __asm TermIO(register __a2 struct IOSana2Req * , register __a6 struct SLIPDevice * );
  42.  
  43. ULONG __asm DevAbortIO(register __a1 struct IOSana2Req * , register __a6 struct SLIPDevice * );
  44.  
  45. ULONG AbortReq(struct MinList * , struct IOSana2Req * , struct SLIPDevice * );
  46.  
  47. void __asm ConfigInterface(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  48.  
  49. void __asm GetStationAddress(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  50.  
  51. extern struct DQInfo DQTable[9];
  52.  
  53. void __asm DeviceQuery(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  54.  
  55. void __asm WritePacket(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  56.  
  57. void __asm SendPacket(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  58.  
  59. ULONG EncodeSLIP(UBYTE * , UBYTE * , ULONG );
  60.  
  61. void __asm ReadPacket(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  62.  
  63. BOOL InitSerial(struct SLIPUnit * , struct SLIPDevice * );
  64.  
  65. void DeinitSerial(struct SLIPUnit * , struct SLIPDevice * );
  66.  
  67. void __asm OnEvent(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  68.  
  69. BOOL OpenSerial(struct SLIPUnit * , struct SLIPDevice * );
  70.  
  71. void MarkTimeOnline(struct SLIPUnit * , struct SLIPDevice * );
  72.  
  73. void CloseSerial(struct SLIPUnit * , struct SLIPDevice * );
  74.  
  75. void __asm Online(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  76.  
  77. void __asm Offline(register __a2 struct IOSana2Req * , register __a4 struct SLIPUnit * , register __a6 struct SLIPDevice * );
  78.  
  79. void DoEvent(ULONG , struct SLIPUnit * , struct SLIPDevice * );
  80.  
  81. void DoOffline(struct SLIPUnit * , struct SLIPDevice * );
  82.  
  83. void ServiceTxPort(struct SLIPUnit * , struct SLIPDevice * );
  84.  
  85. void DoSerial(struct IOExtSer * , struct SLIPUnit * , struct SLIPDevice * );
  86.  
  87. void GotPacket(ULONG , struct SLIPUnit * , struct SLIPDevice * );
  88.  
  89. void QueueSerRequest(struct SLIPUnit * , struct SLIPDevice * );
  90.  
  91. void __asm DevProcCEntry(register __a6 struct SLIPDevice * );
  92.  
  93. void NewList(struct List * );
  94.  
  95.